

package AddressBook.Model;



/**
 * The Class contact provides basic the characteristics of a contact
 */
public class Contact{

    /**
     * This field stores the firstName of the contact
     */
    private String firstName;

    /**
     * This field stores the lastName of the contact
     */


    private String group;

    private String lastName;
    private String personalPhone;
    private String professionalPhone;
    private String homeAddress;
    private String compagnyAddress;
    private String homePage;
    private String email;
    private String uriPicture;



    public String getHomePage() {
        return homePage;
    }

    public void setHomePage(String homePage) {
        this.homePage = homePage;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUriPicture() {
        return uriPicture;
    }

    public void setUriPicture(String uriPicture) {
        this.uriPicture = uriPicture;
    }

    public String getPersonalPhone() {
        return personalPhone;
    }

    public void setPersonalPhone(String personalPhone) {
        this.personalPhone = personalPhone;
    }

    public String getProfessionalPhone() {
        return professionalPhone;
    }

    public void setProfessionalPhone(String professionalPhone) {
        this.professionalPhone = professionalPhone;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getCompagnyAddress() {
        return compagnyAddress;
    }

    public void setCompagnyAddress(String compagnyAddress) {
        this.compagnyAddress = compagnyAddress;
    }


    public String getGroupName() {
        return group;
    }

    public void setGroup(String group) {

        this.group = group;

    }


    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }


    public String getLastName() {
        return lastName;
    }


    public void setLastName(String lastName) {
        this.lastName = lastName;
    }



    public String getFirstName() {
        return firstName;
    }


    @Override
    public String toString() {
        return String.valueOf(firstName)+" "+ lastName + " "+ group;
    }

}
